package tech.abing.spider.task.model;

import java.io.Serializable;

import tech.abing.spider.annotation.CsvField;
import tech.abing.spider.model.Proccessable;

/**
 * 访问受限的详细信息
 * 
 * @Description: TODO
 * @author Ivan 2862099249@qq.com
 * @date 2015年9月5日 下午8:46:28 
 * @version V1.0
 */
public class CloseEntity implements Proccessable, Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String prodId;
	private String hostIp;
	private String hostName;
	private int count;
	private String closeTime;
	private String url;

	@CsvField(title="产品ID", sort=1)
	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	@CsvField(title="主机IP", sort=2)
	public String getHostIp() {
		return hostIp;
	}

	public void setHostIp(String hostIp) {
		this.hostIp = hostIp;
	}
	
	@CsvField(title="主机名称", sort=3)
	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	@CsvField(title="次数", sort=4)
	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	@CsvField(title="时间", sort=5)
	public String getCloseTime() {
		return closeTime;
	}

	public void setCloseTime(String closeTime) {
		this.closeTime = closeTime;
	}
	
	@CsvField(title="产品URL", sort=6)
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public String toString() {
		return "CloseEntity [prodId=" + prodId + ", hostIp=" + hostIp + ", hostName=" + hostName + ", count=" + count
				+ ", closeTime=" + closeTime + ", url=" + url + "]";
	}

}
